package com.qdc.datacenters.domain.vo.sensitive;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author danmo
 * @date 2024-03-11 16:45
 **/
@Data
public class SensitiveGroupRecordVo {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "敏感词ID")
    private Long stId;

    @Schema(description = "敏感词名称")
    private String stName;

    @Schema(description = "会话消息ID")
    private Long msgId;

    @Schema(description = "触发敏感词")
    private String words;

    @Schema(description = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;

    @Schema(description = "触发人类型   1-员工  2-客户")
    private Integer type;

    @Schema(description = "触发人ID")
    private Long effectId;

    @Schema(description = "触发人名称")
    private String effectName;

    @Schema(description = "群聊ID")
    private Long chatId;

    @Schema(description = "群聊名称")
    private String chatName;

}
